package cn.ssj.service.impl;

import cn.ssj.dao.ServiceDao;
import cn.ssj.entity.Service;
import cn.ssj.service.ServiceService;
import org.springframework.beans.factory.annotation.Autowired;

import javax.transaction.Transactional;

/**
 * Created by Administrator on 2017/9/4 0004.
 */

@org.springframework.stereotype.Service
public class ServiceServiceImpl extends BaseServiceImpl<Service,Integer> implements ServiceService {
    @Autowired
    private ServiceDao dao;
    @Transactional
    public Service insert(Service entity) {
        return super.insert(entity);
    }
    @Transactional
    public Service update(Service entity) {
        return super.update(entity);
    }
    @Transactional
    public boolean delete(Integer id) {
        return super.delete(id);
    }
}
